home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SuperHack
/
SuperHack CD.bin
/
SCRIPTZ
/
LAGD.ZIP
/
lagd.txt
Wrap
INI File
|
1993-02-17
|
599b
|
31 lines
[options - perform]
/timer109 0 180 ctcp $me ping
[remote - events]
1:ON CTCPREPLY:*PING*:{
if ($ctime < $parm2) { %pingtime = 0 }
else { %pingtime = $ctime - $parm2 }
goto set
:set
if (%pingtime > 60) {
dec %pingtime 60
inc %pingmin 1
goto pre
}
else {
goto pre
}
:pre
if (%pingmin == $null) {
set %pingmsg %pingtime Secs.
goto msg
}
else {
set %pingmsg %pingmin Mins. %pingtime Secs.
goto msg
}
:msg
if ($nick == $me) {
/notice $me 9,1You are lagging by:0,1 $+ %pingtime $+ 9,1secs.
}
}